﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QuantitativeIndicator.Tools;
namespace QuantitativeIndicator.Convergence
{
    class ConvergenceIndexCacultor
    {
        //交易日列表
        public List<string> tradingDates;
        //交易日列表
        public ConvergenceDataModel dataModel;

        public ConvergenceIndexCacultor()
        {
            this.dataModel = new ConvergenceDataModel();
            this.tradingDates = dataModel.getTradingDateList();
        }
        //计算某只个股的RS值
        private double caculateRSquareByCode(string tradingDate,string stockCode,int period)
        {
            
            return 0;
        }

        //计算一段时间
        public void calcualteRSquareByIndex(string startDate,string endDate,string benchMarkIndexCode,string period)
        {
             
        }

        




        
        
      
    }




}
